headerbar: don't throw a warning if title widget is hidden
authorRay Strode <rstrode@redhat.com>
Wed, 29 Jun 2016 13:20:55 +0000 (09:20 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 29 Jun 2016 13:27:33 +0000 (09:27 -0400)
commit386d17db6d885376dc028ad862574a69e523eed5
treeb8868441e973f1cd8bc2208764016fd6c79bca52
parentb480d9c2ed8034fc1d45cc001de3aa19d38ad8c0
headerbar: don't throw a warning if title widget is hidden

commit 0015ebc4a8f269f6888fcacef3e83e3167241d67 reworked
some of the titlebar size allocation code.  Those changes
inadvertently introduced a warning when the application sets
the headerbar title widget to be hidden.

This commit fixes that warning.

https://bugzilla.gnome.org/show_bug.cgi?id=768184
gtk/gtkheaderbar.c